Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@datagrok/api-tests
Advanced tools
Automated tests for the [Datagrok JS API](https://datagrok.ai/js-api)
ApiTests is a package for the Datagrok platform.
To add tests for Datagrok's JS API:
Create a folder under src/
for your test files (each file typically includes tests for one category)
Get the package dependencies (npm install
)
Import the required utilities (refer to other tests as an example):
import { category, expect, test } from '@datagrok-libraries/utils/src/test';
Write some tests
Import your test files in src/package-test.ts
Publish the package
Open Datagrok and start the console (~
or Windows | Console
)
Launch tests for a category via ApiTests:test(category="category-name")
, e.g., ApiTests:test(category="Layouts")
, or a specific test via ApiTests:test(category="category-name", test="test-name")
, e.g., ApiTests:test(category="Layouts", test="ViewLayout.toJson()")
, and wait for the results
FAQs
Automated tests for the [Datagrok JS API](https://datagrok.ai/js-api)
The npm package @datagrok/api-tests receives a total of 11 weekly downloads. As such, @datagrok/api-tests popularity was classified as not popular.
We found that @datagrok/api-tests demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.